<template>
  <div>
    <x-header>企业详细信息</x-header>

    <group title="企业基础信息">
      <cell title="企业名称" value="上海月亮科技有限公司"></cell>
      <cell title="主营内容" value="所想、所得"></cell>
    </group>
    <box gap="10px 10px">
      <x-button type="primary" @click.native="onCreateClick">添加新项目</x-button>
    </box>

    <group title="已关联项目">
      <cell title="项目1" link="/project/11" inline-desc='2017-3-2 进行中'></cell>
      <cell title="项目2" link="/project/11" inline-desc='2017-3-2 已完成'></cell>
      <cell title="项目3" link="/project/11" inline-desc='2017-3-2 已完成'></cell>
    </group>
  </div>
</template>
<script>
  import { Group, Cell ,XHeader, XInput, XButton, Box} from 'vux'

  export default {
    components: {
      Group,
      Cell,
      XHeader,
      XInput,
      XButton,
      Box
    },

    data () {
      return {
          info: ""
      }
    },

    methods: {
      onCreateClick() {
        // console.log('click');
        this.$router.push('/project/create')
      }
    },

    mounted() {

    }
  }
</script>
